﻿using System;
using System.Collections.Generic;
using System.Text;
using WebApi.Service.Dto;
using WebApi.Service.Other;

namespace WebApi.Service
{
    public interface IProductService
    {
        ResponseResult<bool> CreateProduct(CreateProductDto product);
        ResponseResult<bool> DeleteProduct(List<long>productsId);
        ResponseResult<bool> UpdateProduct(UpdateProductDto product);
        ResponseResult<List<GetProductDto>> GetProducts(int tagid,int state,string search,int index);
        ResponseResult<bool> PutOnProducts(List<long> productsId);
        ResponseResult<bool> PullOffProducts(List<long> productsId);
        ResponseResult<ProductDetailDto> GetProductDetail(long id);
    }
}
